﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using Micrhard.FMCG.Server.Models;

namespace Micrhard.FMCG.Server.Interface
{
    public interface IEmployee : IRepository<EmployeeModel>
    {
        ExecutedResult UpdateUserWeixinOpenID(string userName, string weixinOpenID);
        CompanyModel GetUserCompanyByUserName(string userName);
        bool IsValidUser(string userName);
        bool SystemAccountIsUsing(string accountName);
        bool HasBindWeixinOpenID(string weixinOpenID);
        EmployeeModel GetByUserName(string userName);
        List<string> GetSysMaintanceTeamMails();
    }
}
